SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1907b8a0e7d6dcc29b262e11f53247b368ca47761e09704288813a0eb80c575d' 
  AND token = 'rDKfRG2+D4KYx33zn1F4AUyQFx8W2JeVadjveWauaNE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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