SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b42f1b578fe432ec9e6abe63adc709a8dede95766d276026196b6a6f6e7f01a4' 
  AND token = 'd3GzSuUVYV/QWBjjpuyPtMlwAcLQLD58j0MWJE5IdjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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