SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20b54a18ed9b03230beec14d496f8d6b85bcbb437ed283a0917e8aeed3050e24' 
  AND token = 'IccBI1ayko2pFMDabU8krGlqslXBQUJ6AL/dwF5/ekk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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