SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6d9fcaa15dc01b532e2df20eb7bdea39e717f2be6ed2d4a9b22f74dd1c79180' 
  AND token = 'UYPm+l4pFx3iMW6E+CbyZQoHLcQok06s+1nS4dx2o3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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