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

Query time 0.00029

JSON explain

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