SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04099dd19c696b4ffc5feb0aeaa0aa1a8221c21086541159258efd302295003c' 
  AND token = '9aHDwyW0ScgGAAnM3B0UNiQv5X+BqMjGmQmG0ql/3us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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