SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '574944433231ad0d518ca4af5cdb0240b2e151f6aa0ea02583054538445b583c' 
  AND token = 'IydbZxjXKNVgnoEqLX0Xaj3hiVRU9CdjA3EqzZBheiE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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