SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f97cf53fc9a29ec2d7090df4f4c3ac51dc6d9be6fec8a9a1b4f23f9ba1ba293' 
  AND token = 'zpnFUPkgajXTqE3iJVNFIqGmm/bofN4D8RLOKS0nQcg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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