SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d2f736f350005c90cbd13afe9e254ea9e7c18c39c10d4f2fd6ce9212e8698ef' 
  AND token = 'h/8GM0LDjQtlcbIt/XfcyW92MsqAlLQt0OqkQwPBDFM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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