SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d4bb1661271087218a36902927d31931989ea156a511bc263ea7e362e792ddd' 
  AND token = 'bOkqu73JqJmnATtlG1h242sFNZP+5fPtxqNcXlzJDFU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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