SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '787881b2c22fd61d811cf2deefef62a4d79d706b6122d44bd12c099e72614aa0' 
  AND token = 'YUssbA41LM2efFOtjzoREhbtZ+CVw8/aPVwdu2WJT4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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