SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffdaed95d65644133776afb94e5d335ddf825849196ce3825facafa5cb222893' 
  AND token = 'yxquK3RfsZLPcsaIaDu+Yi02K/AdYRILoMsSGPMWTNQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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