SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fb9bddd2414f731d604637c7d1f6a168a17fb037210d34a5e2762efe7ad8b04' 
  AND token = '0y56xNVNmUOjLcd5zI1WE93f8zwRtKolBHVMfytfZPk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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