SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51b0b986cacf7508bd868e571e76723405e2984fb19fa6a193ce838e1ffb4ed9' 
  AND token = 'gr48RF+ncjUs1BunKAlfPmhM88EskOj6lkXD5FYJCQM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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