SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b15605d181e502ff6e3ca9b795259e74c4d2096beea729fd31a18341ecc9087' 
  AND token = 'brezRFLkK1+0VY1ta7Vf1ch2VYddasLO4I01VvoI5hQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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