SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2794ff1765c05d82175e198d47b77fe289013408b5cad575fc8671df09b6d6c' 
  AND token = 'Y/PQVWNKPiRXMOpif7Yx2rhC6xu1+O2NPmlgKm3x44U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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