SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '561a56985b9596393702f2802c474352174c7d2890aafe5830c40306465e83e5' 
  AND token = '2LHp4brYwe24oxFcrYCnWstfoJ36d0LigSp92YysM+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00094

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}