SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d6d4faf50588c713b8c5f0e86c1584685075cb436a38812520f7f2e9c3273bf' 
  AND token = 'gIvcaBVmoUkkP5q1u07bxNghowTkTt6aFMgP5RVjyE4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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