SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1f3e40aa27c4fcb7a9ef01b2714293ca86d14e26377be67a21864c821f84f0e' 
  AND token = 'tCaJTXxRDX6yu3AkcbtSj9n6TT6zCOjY63UjALYJc4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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