SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39ede71ca7d2abae8e3fdf8aaa785ca80aa5cd15de6c24ecdf6e0aabf81fc0c9' 
  AND token = 'CuMR3UeqUdWmHbAtkIsaZJkMYtHA621W8bLKS/Gn1is=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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