SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '080a23d799b1819ebe248498faafb931df56ccd353a2a961de260609d4ca94e8' 
  AND token = '5h3QBM1xE8goAf7HBQpQ8NA+ubaEM9hDweABbbsrGWk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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