SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8894ea332416189b7adc5a0dc7d50b0aa868078db0fd26bcf5d7186ffd0f3165' 
  AND token = '2+DQ9uSfdkqpTtfOK47Cq+fGjt55BMuIkjMMp29/mjg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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