SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f382a952b36512b458df1541e9b327fb0a872048ed6d26962614d076391577b' 
  AND token = 'O+NMk5gnrmUNjyRg9fWlSMb9zVk6qlN0T6jAC/B4w30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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