SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0542dab98477fa62ef22aa4eb48a91f284311803119e5be586df5fe52a4a6e17' 
  AND token = 'i1CMVfC/zUAG3+g1Uul9LGXaC7Xuc3jhQwQgg6cCtJk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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