SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecbf8664f31b591ad396ff0f753fd6729bd5f3eb56a9342b4519e13f60fa9ee2' 
  AND token = 'J5I27N2aTTeEZb+Qm0gJgiyjy4MP81kpB42Kc/jkmdM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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