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

Query time 0.00049

JSON explain

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